package com.ic.service.impl;

import com.ic.base.AbstractBaseService;
import com.ic.dao.PicInfoDao;
import com.ic.entity.PicInfo;
import com.ic.service.PicInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Description: 物品科目业务类
 * Author: spark
 * Date  : 2017/6/25
 * Time  : 17:31.
 */
@Service("picInfoService")
public class PicInfoServiceImpl extends AbstractBaseService<PicInfo> implements PicInfoService {

	@Resource
	private PicInfoDao picInfoDao;

	/**
	 * 根据ID更新图片信息
	 *
	 * @param picInfo 图片信息
	 * @return 受影响的记录数量
	 */
	@Override
	public Integer updateByPrimaryKeySelective(PicInfo picInfo) {
		return picInfoDao.updateByPrimaryKeySelective(picInfo);
	}
}